package ca.uoit.csci2020u.classes;

import ca.uoit.csci2020u.classes.Sphere;

public class Baseball extends Sphere {
	private boolean isOld, isSigned;

	public Baseball(boolean isOld, boolean isSigned) {
		this.isOld = isOld;
		this.isSigned = isSigned;
	}

	@Override
	public String getColor() {
		return (this.isOld ? "gray" : "white");
	}

	@Override
	public String toString() {
		return this.getColor() +
			" baseball with a radius of " + super.R;
	}
}
